package physical;

import domain.Card;

/*
 * 读卡器类
 * 
 * 进行卡的验证
 * 创建卡的实例
 * */
public class CardReader {
	// 读卡
	public Card readCard(String cardNo){
		Card card = new Card(cardNo);
		return card;
	}
	
	// 退卡
	public void dropOut(Card card){
		System.out.println("银行卡"+card.getCardNo()+"退卡成功！");
	}
	
	// 吞卡
	public void swallowCard(Card card){
		System.out.println("银行卡"+card.getCardNo()+"已锁定！");
	}
}
